Ext.define('Service.role.view.RoleInfoEditForm', {
    extend: 'Ext.form.Panel',
    alias : 'widget.Service_role_view_RoleInfoEditForm',
    frame: true,
    layout: {
        type: 'fit'
    },
    style:{
    	border:'none'
    },
    bodyPadding: 50,
    title: '',
    
    initComponent: function() {
        var me = this;
        Ext.applyIf(me,{
        	items : [
				{
				    xtype: 'fieldset',
				    title: '用户信息录入',
				    items: [
				    	{
		                    xtype: 'hiddenfield',
		                    fieldLabel: '角色ID',
		                    anchor: '100%',
		                    name:'id'
		                },
				        {
				            xtype: 'textfield',
				            fieldLabel: '角色名称',
				            anchor: '100%',
				            name : 'roleName',
				            allowBlank: false,
                            blankText: '角色名称不能为空',
                            vtype: 'alphanum',
                            vtypeText: '角色名称为字母与数字组合', 
                            msgTarget: 'side'
				        },
				        {
				            xtype: 'textfield',
				            fieldLabel: '展示名称',
				            anchor: '100%',
				            name : 'roleText'
				        },
				        {
				            xtype: 'textarea',
				            fieldLabel: '角色备注',
				            anchor: '100%',
				            name : 'remark'
				        }
				    ]
				}
        	]
        });
        me.callParent(arguments);
    }
});